<ng-container [formGroup]="controlContainer.control">
	<m-switch-checkbox formControlName="enable" #switchRef>
		{{ switchRef.value ? '开启' : '关闭' }}
	</m-switch-checkbox>
	<mat-form-field class="ml-5">
		<mat-label>超时</mat-label>
		<mat-select formControlName="delay" [attr.disabled]="switchRef.disabled || !switchRef.value">
			<mat-option *ngFor="let option of options" [value]="option.value">{{ option.label }}</mat-option>
		</mat-select>
	</mat-form-field>
</ng-container>
